package com.example.demonstrate.wang.client;

import com.example.demonstrate.wang.entity.ProfileFace;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @Author along
 * @Date 2024/6/21 0:18
 */

@FeignClient(name = "galaxy-capture")
public interface CaptureSearchClient {

    @PostMapping("/api/galaxy/capture/batchSearch")
    List<ProfileFace> captureSearch(long createTime, long endTime, int pageNum, int pageSize);

    @PostMapping("/api/galaxy/capture/searchByIds")
    List<ProfileFace> searchByIds(List<String> captureIds, int pageNum, int pageSize);
}
